package com.yc.vote.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author lyl
 * @since 2022-11-06
 */
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

    private String uname;

    private String pwd;

    
    public Integer getId() {
        return id;
    }

      public void setId(Integer id) {
          this.id = id;
      }
    
    public String getUname() {
        return uname;
    }

      public void setUname(String uname) {
          this.uname = uname;
      }
    
    public String getPwd() {
        return pwd;
    }

      public void setPwd(String pwd) {
          this.pwd = pwd;
      }

    @Override
    public String toString() {
        return "User{" +
              "id=" + id +
                  ", uname=" + uname +
                  ", pwd=" + pwd +
              "}";
    }
}
